package com.ddfeiyu.agreement.log;

import com.ddfeiyu.agreement.Command;
import com.ddfeiyu.agreement.Packet;

public class LogRequest extends Packet {

    private String traceId;
    private String log;

    public LogRequest() {
    }
    public LogRequest(String traceId, String log) {
        this.traceId = traceId;
        this.log = log;
    }

    public String getTraceId() {
        return traceId;
    }

    public void setTraceId(String traceId) {
        this.traceId = traceId;
    }

    public String getLog() {
        return log;
    }

    public void setLog(String log) {
        this.log = log;
    }

    @Override
    public Byte getCommand() {
        return Command.LogRequest;
    }
}
